package section12;

public class App12_2 {
    public static
    <E>void display(E[] list){
        for (int i = 0; i < list.length; i++) {
            System.out.print(list[i]+"  ");
        }
        System.out.println();
    }
    public static void main(String[] args) {
        Integer[] num={1,2,3,4,5,6,7};
        String[] str={"清风","明月"};
        App12_2.display(num);
        App12_2.display(str);
    }
}
